package chapter_3;

public class Test5 {

    public static void main(String[] args) {
//        int[][] arr;
        int[] arr1[];
//        int arr2[][];
//        arr = new int[3][4];
        arr1 = new int[3][];
        arr1[0] = new int[2];
        arr1[1]=new int[4];
        arr1[2] =new int[3];
        int k = 1;
        for (int i = 0; i < arr1.length; i++) {
            for (int j = 0; j < arr1[i].length; j++) {
                arr1[i][j] = k++;
                System.out.print(arr1[i][j] +" ");
            }
            System.out.println();
        }
    }
}
